﻿@model IEnumerable<HelloMinasan.Domain.QA>

<div>
    <div class="titleSection">
        Top Ansert
    </div>
    <div>
        @foreach (var item in Model)
        {
           <div class="contentSectionInside norightborder">
                @if(item.IsLock == false)
                {
                    <img src="@Url.Content("~/Content/Images/QA_thread_hot_new.png")" width="40" height="37" />
                }
                else
                {
                    <img src="@Url.Content("~/Content/Images/QA_thread_hot_lock_new.png")" width="40" height="37" />
                }
                 <span>
                    <img src="@Url.Content("~/Content/Images/QA_hot.gif")" width="24" height="14" />
                    <a href="Details/@item.Id" title ="@item.QuestionContent">
                    <strong> [@item.QuestionCatagory]@item.QuestionTitle</strong>
                    </a>
                    <a  href="Index" title="@item.User.Id @item.PostedDate">
                        <span style="float: right;">@item.User.Id, @item.PostedDate</span>     
                     </a>
   
                  </span>
            </div>
                        
        }
        </div>
</div>
